package 类和对象课堂练习;

public class Lianxi03211 {
    String brand;
    String color;
    public int jisuanqi(int a,int b){
        System.out.println("打开计算器");
        System.out.println("开始计算");
        System.out.println(a+"+"+b+"="+(a+b));
        return a+b;
    }
    public int fudian(int c,int d){
        System.out.println("打开计算器");
        System.out.println("开始计算");
        System.out.println(c+"*"+d+"="+(c*d));
        return c*d;
    }
    public int lifang(int e){
        System.out.println("打开计算器");
        System.out.println("开始计算");
        System.out.println(e+"*"+e+"*"+e+"="+(e*e*e));
        return e*e*e;
    }
}
